home *** CD-ROM | disk | FTP | other *** search
/ Interactive Media Design Review 1999 / Interactive Media Design Review 1999.iso / mac / files / ID99MENU.DIR / 00137.ls < prev    next >
Encoding:
Text File  |  1999-04-29  |  541 b   |  32 lines

  1. property s
  2. global webpages, currtitle
  3.  
  4. on beginSprite me
  5.   s = me.spriteNum
  6. end
  7.  
  8. on prepareFrame me
  9.   if currtitle = 0 then
  10.     set the member of sprite s to "dim web"
  11.     exit
  12.   end if
  13.   thepage = getAt(webpages, currtitle)
  14.   if thepage <> EMPTY then
  15.     set the member of sprite s to "web button"
  16.   else
  17.     set the member of sprite s to "dim web"
  18.   end if
  19. end
  20.  
  21. on mouseUp
  22.   if currtitle = 0 then
  23.     exit
  24.   end if
  25.   thepage = getAt(webpages, currtitle)
  26.   if thepage = EMPTY then
  27.     exit
  28.   end if
  29.   stopjuror()
  30.   gotoNetPage(thepage)
  31. end
  32.